﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Core.DataAccess.IRepositories
{
    public interface IPermissionRepository
    {
        List<Permission> GetPermissionsByAccountID(Int32 AccountID);
        List<Permission> GetPermissionByName(string Name);
        List<Permission> GetPermissionByID(Int32 PermissionID);
        void SavePermission(Permission permission);
        void DeletePermission(Permission permission);
    }
}
